package com.tadpole.music.bean.me;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/12/29
 */
public class ZhenTiSearchBean {

    /**
     * code : 200
     * data : {"month_data":{"days":[16,27],"month":"2020-12"},"month_data_static":{"total":8,"avg_time":9.25,"sum_err_num":224,"avg_score":50},"month_exam_static":[{"id":28,"score":57,"err_num":22,"time":1},{"id":26,"score":51,"err_num":45,"time":13},{"id":20,"score":46,"err_num":28,"time":11},{"id":17,"score":51,"err_num":25,"time":21},{"id":6,"score":61,"err_num":20,"time":2},{"id":4,"score":43,"err_num":29,"time":4},{"id":3,"score":39,"err_num":31,"time":12},{"id":2,"score":52,"err_num":24,"time":10}],"total":{"total":8,"avg_time":9.25,"sum_err_num":224,"avg_score":50}}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * month_data : {"days":[16,27],"month":"2020-12"}
         * month_data_static : {"total":8,"avg_time":9.25,"sum_err_num":224,"avg_score":50}
         * month_exam_static : [{"id":28,"score":57,"err_num":22,"time":1},{"id":26,"score":51,"err_num":45,"time":13},{"id":20,"score":46,"err_num":28,"time":11},{"id":17,"score":51,"err_num":25,"time":21},{"id":6,"score":61,"err_num":20,"time":2},{"id":4,"score":43,"err_num":29,"time":4},{"id":3,"score":39,"err_num":31,"time":12},{"id":2,"score":52,"err_num":24,"time":10}]
         * total : {"total":8,"avg_time":9.25,"sum_err_num":224,"avg_score":50}
         */

        private MonthDataBean month_data;
        private MonthDataStaticBean month_data_static;
        private TotalBean total;
        private List<MonthExamStaticBean> month_exam_static;

        public DataBean(MonthDataBean month_data, MonthDataStaticBean month_data_static, TotalBean total, List<MonthExamStaticBean> month_exam_static) {
            this.month_data = month_data;
            this.month_data_static = month_data_static;
            this.total = total;
            this.month_exam_static = month_exam_static;
        }

        public MonthDataBean getMonth_data() {
            return month_data;
        }

        public void setMonth_data(MonthDataBean month_data) {
            this.month_data = month_data;
        }

        public MonthDataStaticBean getMonth_data_static() {
            return month_data_static;
        }

        public void setMonth_data_static(MonthDataStaticBean month_data_static) {
            this.month_data_static = month_data_static;
        }

        public TotalBean getTotal() {
            return total;
        }

        public void setTotal(TotalBean total) {
            this.total = total;
        }

        public List<MonthExamStaticBean> getMonth_exam_static() {
            return month_exam_static;
        }

        public void setMonth_exam_static(List<MonthExamStaticBean> month_exam_static) {
            this.month_exam_static = month_exam_static;
        }

        public static class MonthDataBean {
            /**
             * days : [16,27]
             * month : 2020-12
             */

            private String month;
            private List<Integer> days;

            public MonthDataBean(String month, List<Integer> days) {
                this.month = month;
                this.days = days;
            }

            public String getMonth() {
                return month;
            }

            public void setMonth(String month) {
                this.month = month;
            }

            public List<Integer> getDays() {
                return days;
            }

            public void setDays(List<Integer> days) {
                this.days = days;
            }
        }

        public static class MonthDataStaticBean {
            /**
             * total : 8
             * avg_time : 9.25
             * sum_err_num : 224
             * avg_score : 50
             */

            private int total;
            private double avg_time;
            private int sum_err_num;
            private int avg_score;

            public MonthDataStaticBean(int total, double avg_time, int sum_err_num, int avg_score) {
                this.total = total;
                this.avg_time = avg_time;
                this.sum_err_num = sum_err_num;
                this.avg_score = avg_score;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public double getAvg_time() {
                return avg_time;
            }

            public void setAvg_time(double avg_time) {
                this.avg_time = avg_time;
            }

            public int getSum_err_num() {
                return sum_err_num;
            }

            public void setSum_err_num(int sum_err_num) {
                this.sum_err_num = sum_err_num;
            }

            public int getAvg_score() {
                return avg_score;
            }

            public void setAvg_score(int avg_score) {
                this.avg_score = avg_score;
            }
        }

        public static class TotalBean {
            /**
             * total : 8
             * avg_time : 9.25
             * sum_err_num : 224
             * avg_score : 50
             */

            private int total;
            private double avg_time;
            private int sum_err_num;
            private int avg_score;

            public TotalBean(int total, double avg_time, int sum_err_num, int avg_score) {
                this.total = total;
                this.avg_time = avg_time;
                this.sum_err_num = sum_err_num;
                this.avg_score = avg_score;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public double getAvg_time() {
                return avg_time;
            }

            public void setAvg_time(double avg_time) {
                this.avg_time = avg_time;
            }

            public int getSum_err_num() {
                return sum_err_num;
            }

            public void setSum_err_num(int sum_err_num) {
                this.sum_err_num = sum_err_num;
            }

            public int getAvg_score() {
                return avg_score;
            }

            public void setAvg_score(int avg_score) {
                this.avg_score = avg_score;
            }
        }

        public static class MonthExamStaticBean {
            /**
             * id : 28
             * score : 57
             * err_num : 22
             * time : 1
             */

            private int id;
            private int score;
            private int err_num;
            private int time;
            private String created_at;

            public MonthExamStaticBean(int id, int score, int err_num, int time,String created_at) {
                this.id = id;
                this.score = score;
                this.err_num = err_num;
                this.time = time;
                this.created_at = created_at;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public int getErr_num() {
                return err_num;
            }

            public void setErr_num(int err_num) {
                this.err_num = err_num;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }
        }
    }
}
